-----------------------------------
-- Area: The Eldieme Necropolis
-- NM: Sturm
-- Quests: A New Dawn (BEASTMASTER AF3)
-- @zone 195
-- @pos -412.175 '6.000 503.615
-----------------------------------

require("scripts/globals/quests");

-----------------------------------
-- OnMobSpawn Action
-----------------------------------

function onMobSpawn(mob)
end;

-----------------------------------
-- OnMobDeath Action
-----------------------------------
function onMobDeath(mob, killer)

	local ANewDawn = killer:getQuestStatus(JEUNO,A_NEW_DAWN);
	local ANewDawnEvent = killer:getVar("ANewDawn_Event");

	if (ANewDawn == QUEST_ACCEPTED and ANewDawnEvent == 4) then
		killer:setVar("ANewDawn_Event",5);
	end

	-- Despawn Tigers if alive
	for i = 17576268, 17576269 do
	if (GetMobAction(i) ~= 0) then
		DespawnMob(i);
		end
	end

end;